package com.jic.member.mapper.power;

import java.lang.Long;
import java.util.List;


import com.jic.member.entity.power.MegradeType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 等级类型表
 * @author : 
 * @email : 
 * @since : 2020-07-01 03:15:14
 * @version : v1.0.0
 */
@Mapper
public interface  MegradeTypeMapper {

    long insert(MegradeType megradeType);

    long delete(Long id);

    long update(MegradeType megradeType);

    MegradeType queryByPrimaryKey(Long id);

    List<MegradeType> query(MegradeType megradeType);

    List<MegradeType> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("megradeType") MegradeType megradeType);

    long queryPageCount(MegradeType megradeType);
}